<template>
	<view class="content">
		<view class="list" v-for="(item,index) in mainData" :key="index">
			<image mode="widthFix" :src="item.img"></image>	
		</view>	
		<view class="bottom-safe-area"></view>
		<common-drag />
	</view>
</template>
<script>
	export default {
		data() {
			return {
				mainData:[]
			}
		},
		onLoad() {
			this.getSignCouponLookRequest();
		},
		methods: {
			getSignCouponLookRequest(){
				this.$u.api.getSignCouponLook({
					
					type:1,
				}).then(res=>{
					this.mainData=res.data;
				}).catch(()=>{});
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		padding:24rpx;
	}
	.list image{
		vertical-align: middle;
		width:100%;
		height:390rpx;
	}
</style>

